#ifndef NET_TIME_H
#define NET_TIME_H

#include <string.h>
#include <time.h>
#include <sys/time.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_attr.h"
#include "esp_sleep.h"
#include "esp_sntp.h"

#include "msg_handle.h"
#define TIME_MSG         3
#define CONFIG_SNTP_TIME_SERVER "pool.ntp.org"
void net_time_init(void);
void net_timer_loop(void *pvParameters);
void time_msg_init();
#endif